home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_sz / zeros < prev   
Text File  |  1994-02-21  |  381b  |  23 lines

  1. zeros:
  2.  
  3. Syntax:    zeros ( nrow, ncol )
  4.     zeros ( A )
  5.  
  6. Description:
  7.  
  8.     Zeros returns a matrix with all zero elements. If the
  9.     arguments are two scalars, then zeros returns a matrix with
  10.     dimensions S1xS2.
  11.  
  12.     If the argument is a MATRIX, then zeros returns a matrix with
  13.     dimensions m[1] by m[2].
  14.  
  15.     Examples:
  16.  
  17.     > zeros( 3 , 3 )
  18.  
  19.     > A = rand(10,4);
  20.     > B = zeros( size(A) )
  21.  
  22. See Also: size
  23.